import Vue from 'vue'
import App from './App.vue'
import router from './routes/index'
import './routes/guard'
import store from './store/index'
import './styles/common.less'

import { 
  Container,
  Header,
  Aside,
  Main,
  Footer,
  Menu,
  MenuItem,
  Submenu,
  MenuItemGroup,
  Card,
  Table,
  TableColumn,
  Button,
  Tag,
  Popover,
  Popconfirm,
  Input,
  Form,
  FormItem,
  Progress,
  Row,
  Col,
  Dialog,
  Breadcrumb,
  BreadcrumbItem,
} from 'element-ui'

Vue.use(Container)
  .use(Header)
  .use(Aside)
  .use(Main)
  .use(Footer)
  .use(Menu)
  .use(MenuItem)
  .use(Submenu)
  .use(MenuItemGroup)
  .use(Card)
  .use(Table)
  .use(TableColumn)
  .use(Button)
  .use(Tag)
  .use(Popover)
  .use(Popconfirm)
  .use(Input)
  .use(Form)
  .use(FormItem)
  .use(Progress)
  .use(Row)
  .use(Col)
  .use(Dialog)
  .use(Breadcrumb)
  .use(BreadcrumbItem)

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
